Automattic\WooCommerce\Blocks\BlockTypes\Checkout A

Total Complexity 54
Dependencies 2
Dependents 1
Total lines 496
Lines of code 320
Logical lines of code 145
Comment lines 129
Methods 14
Properties 2

Methods 14

Method Rating Maintainability Complexity Lines of code
enqueue_data()
B
29 18 144
render()
A
43 9 53
hydrate_customer_payment_methods()
S
54 4 21
deep_sort_with_accents()
S
62 4 11
is_block_editor()
S
68 4 7
include_token_id_with_payment_methods()
S
62 4 10
get_checkout_block_types()
S
53 1 26
get_block_type_editor_script()
S
66 2 8
get_block_type_script()
S
66 2 8
is_checkout_endpoint()
S
79 2 3
enqueue_assets()
S
74 1 5
get_enabled_payment_gateways()
S
67 1 9
hydrate_from_api()
S
66 1 8
register_block_type_assets()
S
68 1 7